<div id="banner">
    {{banner.content || '个人资料' }}
</div>
<div id="config-Widget">
    <a href="#/config-portrait" style="color:#000000;text-decoration: none">
        <div class="config-protrait">
        <span class="forward-arrow">
        </span>
            头像
            <img class="portrait" ng-src="{{'assets/'+hyUser.iconPath}}" alt=""/>
        </div>
    </a>
    <div class="config-item" ng-click="clearInput();inputNickName=true">
        <span>昵称</span>
        <span ng-hide="inputNickName"  class="item-content">{{nickName}}</span>
        <input ng-show="inputNickName" type="text" class="item-input" ng-model="nickName" ng-blur="submitNickName();inputNickName=false"/>
    </div>
    <div class="config-item" ng-click="clearInput();inputMotto=true">
        <span>个性签名</span>
        <span ng-hide="inputMotto"  class="item-content">{{motto}}</span>
        <input ng-show="inputMotto" type="text" class="item-input" ng-model="motto" ng-blur="submitMotto();inputMotto=false"/>
    </div>
    <div class="config-item" ng-click="clearInput();inputPosition=true">
        <span>具体坐标</span>
        <span ng-hide="inputPosition"  class="item-content">{{position}}</span>
        <input ng-show="inputPosition" type="text" class="item-input" ng-model="position" ng-blur="submitPosition();inputPosition=false"/>
    </div>
    <div class="config-item" ng-click="clearInput();inputAge=true">
        <span>年龄</span>
        <span ng-hide="inputAge"  class="item-content">{{age}}</span>
        <input ng-show="inputAge" type="number" class="item-input" ng-model="age" ng-blur="submitAge();inputAge=false"/>
    </div>
    <div class="config-item" ng-click="clearInput();inputPublic=true">
        <span>是否公开</span>
        <span ng-hide="inputPublic"  class="item-content" >{{transferPublic(public)}}</span>
        <span ng-show="inputPublic">
            <label class="radio-inline">
                <input type="radio" class="item-input" value="1" ng-model="public" ng-blur="submitPublic();inputPublic=false"/>是
            </label>
            <label class="radio-inline">
                <input type="radio" class="item-input" value="0" ng-model="public" ng-blur="submitPublic();inputPublic=false"/>否
            </label>
        </span>
    </div>
    <div style="padding: 10px 20px 0px">
        <button class="btn btn-block btn-blue" ng-click="exit()">
            退出
        </button>
    </div>
</div>
<nav class="navbar navbar-default navbar-fixed-bottom" id="navFooter" role="navigation">
    <div class="container-fluid">
        <ul class="nav">
            <li class="nav-item">
                <a href="#/">
                            <span class="icon-message" ng-class="{'active':(menu == 'chat')}">
                                      消息
                                <span class="red-point" un-checked-message ></span>
                            </span>
                </a>
            </li>
            <li class="nav-item">
                <a href="#/contact">
                            <span class="icon-people" ng-class="{'active':(menu == 'contact')}">
                                             联系人
                            </span>
                </a>
            </li>
            <li class="nav-item">
                <a href="#/config">
                            <span class="icon-me" ng-class="{'active':(menu == 'config')}">
                                           我
                            </span>
                </a>
            </li>
        </ul>
    </div>
</nav>
